package com.zyf.workflow.work;

import com.zyf.workflow.flow.WorkFlow;

import java.util.HashMap;

/**
 * work执行上下文，作为<code>{@link Work}</code>,执行上下文参数
 * @param <T>
 */
public interface WorkExecutionContext<T> {

    Work getWork();

    WorkFlow getWorkFlow();

    HashMap<String, T> getDataMap();


}
